module.exports = {
  devServer: {
    open: process.platform === 'darwin', // 项目构建成功之后，自动弹出页面
    host: '0.0.0.0',
    proxy: {
      '/api/admin': {
        target: 'http://localhost:3000',
        pathRewrite: {
          "^/api": ''
        }
      }
    }
  }
}